/*
 *  KothConstants.c
 *  wolf3d
 *
 *  Created by James Weatherley on 10/12/2009.
 *  Copyright 2009 James Weatherley. All rights reserved.
 *
 */

#include "KothConstants.h"

void initKothConstants()
{
	// Sentinels' field of view in degrees.
	kothSentinelFOV = 5.0f;

	// Degrees to warn the player a sentinel is getting close.
	kothSentinelWarning = 20.0f;

	// How fast do the sentinels rotate?
	kothSentinelRotationSpeed = 1.0f;

	// How many seconds between each absorbtion by a particular sentinel.
	kothSentinelAbsorbRate = 0.5f;
	
	// How fast do the meanies rotate?
	kothMeanieRotationSpeed = 2.0f;
	
	// What fraction of the empty squares have trees? 1 in kothTreeFraction will.
	kothTreeFraction = 10;

	// How sensitive is player movement to swiping?
	kothSwipeSensitivity = 3.0f;
	
	// How close do trees have to be for meanie conversion?
	kothMeanieRange = 5;
	
	// Create a meanie if we're closer than kothMeanieAngle degrees to the player.
	kothMeanieAngle = 1.0f;
	
	// How low can the player look?
	// Yes, the signs for Max and Min azimuth are daft.
	kothPlayerMaxAzimuth = 80.0f;
	
	// How high can the player look?
	// Yes, the signs for Max and Min azimuth are daft.
	kothPlayerMinAzimuth = -40.0f;
	
	// If this is 1 we draw every frame.
	// If it's 2 we draw every other frame,
	// etc.
	kothFrameInterval = 2;
}